From: Chong Yidong Date: Tue, 8 Mar 2011 02:49:20 +0000 (-0500) Subject: * lisp/custom.el (custom-available-themes): Return themes in alphabetical order. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4461 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=cc1437103fd315332192b0f9536c430cd4ad47d3;p=emacs.git * lisp/custom.el (custom-available-themes): Return themes in alphabetical order. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 443cf911d40..820adb68274 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-03-08 Chong Yidong + + * custom.el (custom-available-themes): Return themes in + alphabetical order. + 2011-03-07 Chong Yidong * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect diff --git a/lisp/custom.el b/lisp/custom.el index e41e7c7bdf8..923321c03c9 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -1219,7 +1219,7 @@ NAME should be a symbol." (setq sym (intern (match-string 1 file))) (custom-theme-name-valid-p sym) (push sym themes))))) - (delete-dups themes))) + (nreverse (delete-dups themes)))) (defun custom-theme--load-path () (let (lpath)